import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';

class CPPEMapDemo extends StatefulWidget {
  CPPEMapDemo({Key key}) : super(key: key);

  @override
  _CPPEMapDemoState createState() => _CPPEMapDemoState();
}

class _CPPEMapDemoState extends State<CPPEMapDemo> {
  InAppWebViewController webViewController;
  InAppWebViewGroupOptions options = InAppWebViewGroupOptions(
    crossPlatform: InAppWebViewOptions(
      useShouldOverrideUrlLoading: true,
      mediaPlaybackRequiresUserGesture: false,
    ),
    android: AndroidInAppWebViewOptions(
      useHybridComposition: true,
    ),
    ios: IOSInAppWebViewOptions(
      allowsInlineMediaPlayback: true,
    ),
  );

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Center(
        child: Text("data"),
      ),
    );
  }

  @override
  void dispose() {
    super.dispose();
  }
}
